package top.jiangqiang.qyblog.core.service;

import top.jiangqiang.qyblog.common.base.response.Result;
import top.jiangqiang.qyblog.core.base.service.BaseService;
import top.jiangqiang.qyblog.core.domain.dto.LinkAddDto;
import top.jiangqiang.qyblog.core.domain.dto.LinkUpdateDto;
import top.jiangqiang.qyblog.core.domain.entity.Link;
import top.jiangqiang.qyblog.core.domain.vo.LinkVo;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author JiangQiang
 * @since 2023-05-30
 */
public interface ILinkService extends BaseService<Link> {

    Result<LinkVo> getLink(Long id);

    Result<LinkVo> editLink(LinkUpdateDto linkUpdateDto);

    Result<LinkVo> saveLink(LinkAddDto linkAddDto);
}
